package com.sky.service;

import com.sky.annotation.AutoFill;
import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.enumeration.OperationType;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;


public interface DishService {
   public PageResult selectPage(DishPageQueryDTO dishPageQueryDTO);

   public void addDish(DishDTO dishDTO);

   void deleteDish(List<Long> dishIds);

   DishVO selectDishById(Long id);

   void updateDish(DishDTO dishDTO);

   void startOrstop(Integer status, Long id);

   List<Dish> list(Long categoryId);

   List<DishVO> listWithFlavor(Dish dish);
}
